package cn.tedu.qxhouserent.house.mapper;

import cn.tedu.qxhouserent.house.pojo.entity.UserHouseCollection;
import cn.tedu.qxhouserent.house.pojo.entity.UserNewsCollection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserNewsCollectionMapper extends BaseMapper<UserNewsCollection> {



//    int insertBatch(UserNewsCollection[] userNewsCollections);

    int deleteByUserIdAndNewsDetailId(Long userId,Long newsDetailId);

    List<Long> getUserNewsCollectionIds(Long id);


}
